package com.ruoyi.project.digital.domain.enums;

import com.ruoyi.common.enums.IBaseEnum;

/**
 * 申请状态
 */
public enum ApplyStatus implements IBaseEnum<Integer> {
    //申请状态 已申请、已拒绝、待支付、已支付、已邮寄
    REHECT(-1,"已拒绝"),
    APPLY(1,"已申请"),
    PASS(5,"审核通过"),
    WAIT_PAY(2,"待支付"),
    FINISHED_PAY(3,"已支付"),
    MAILED(4,"已邮寄"),
    ;

    private Integer value;

    private String desp;

    ApplyStatus(Integer value, String desp){
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
